package com.hp.erp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hp.erp.entity.Functions;
import com.hp.erp.entity.Role;
import com.hp.erp.entity.User;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author chenheng
 * @since 2021-04-12
 */
public interface UserMapper extends BaseMapper<User> {

    List<Role> selectRolesByUsername(String username);

    List<Functions> selectFunctionsByUsername(String username);
}
